WaveOutGetDeviceName
(Function)

Purpose: Returns the name of a Wave-Out device.

Syntax: StringVar = CtlName.WaveOutGetDeviceName(DeviceNumber As Integer)

Arguments: DeviceNumber is an integer holding the device which name to get.

Example:
'Fill a ComboBox with Wave-Out devices
Dim intTemp As Integer
For intTemp = 0 To SoundCard1.WaveOutNumOfDevices
____Combo1.AddItem SoundCard1.WaveOutGetDeviceName (intTemp)
Next intTemp

Comments: Returns a zerostring ("") if DeviceNumber is out of range.

See Also:
WaveOutNumOfDevices
WaveInNumOfDevices
WaveInGetDeviceName

Index